WooCommerce\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory S

Total Complexity 34
Dependencies 14
Dependents 11
Total lines 298
Lines of code 161
Logical lines of code 82
Comment lines 91
Methods 7
Properties 7

Methods 7

Method Rating Maintainability Complexity Lines of code
from_paypal_response()
A
43 13 50
from_wc_cart()
A
44 9 47
from_wc_order()
S
47 5 38
shipping_needed()
S
67 3 8
init_purchase_unit()
S
74 2 5
__construct()
S
65 1 9
country_without_postal_code()
S
65 1 4